package com.leetomlee.cloud.common.designmodel.AdapterModel;

public class Test {
    public static void main(String[] args) {
        //对原有功能的扩展
//        Adaptee adaptee = new Adaptee();
//        Adapter adapter = new Adapter(adaptee);
//        adapter.sampleOperation1();
//       adaptee.sampleOperation1();
        //并不想实现那么多功能
        和尚 hs = new 鲁智深();
        hs.撞钟();
    }
}
